@import '../const';

.home-wrapper {
  margin-bottom: 3rem;
  .banner-wrapper {
    width: 100%;
    margin: 0;
    img {
      width: 100%;
      height: 125px;
    }
  }
  .feature-wrapper {
    background: #fff;
    padding: .725rem 1rem;
    margin: 0 auto;
    .feature-item {
      display: inline-block;
      width: 23.5%;
      text-align: center;
      font-size: .6rem;
      color: $color-text-strong;
      text-decoration: none;
      box-sizing: border-box;
      .feature-img {
        width: 50%;
        margin-bottom: .25rem;
      }
      span {
        display: block;
      }
    }
  }

  .content-title-wrapper {
    background: #fff;
    height: 2rem;
    position: relative;
    margin-bottom: 1px;
    .title {
      font-size: .7rem;
      color: $color-text-strong;
      font-weight: bold;
      height: 1.5rem;
      line-height: 1.5rem;
      padding: .25rem;
      display: inline-block;
      margin-left: .5rem;
    }
    .right-text {
      position: absolute;
      padding: .25rem;
      right: .5rem;
      top: 0;
      height: 1.5rem;
      line-height: 1.5rem;
      color: $color-text-normal;
      font-size: .6rem;
    }
  }

  .task-wrapper {
    margin-top: 10px;
  }

  .master-wrapper {
    margin-top: 10px;
  }

  .painting-wrapper {
    margin-top: 10px;
    .painting-images-wrapper {
      padding: 5px;
      background: #fff;
      overflow: hidden;
      box-sizing: border-box;
      margin-bottom: 61px;
      .painting-item {
        width: 50%;
        box-sizing: border-box;
        padding: 5px;
        position: relative;
        display: inline-block;
        float: left;
        .painting-image {
          width: 100%;
          height: 6rem;
        }
        .painting-desc {
          position: absolute;
          bottom: 15px;
          left: 10px;
          color: #fff;
          font-size: .6rem;
          overflow: hidden;
        }
      }
    }
  }
}
